home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Nave / LunarLander.swf / scripts / DefineButton2_94 / BUTTONCONDACTION on(release).as
Encoding:
Text File  |  2006-06-13  |  178 b   |  12 lines

  1. on(release){
  2.    _visible = false;
  3.    if(_root.gamelevel == _root.levels.length)
  4.    {
  5.       _root.gotoAndStop("end");
  6.    }
  7.    else
  8.    {
  9.       _root.nextlevel();
  10.    }
  11. }
  12.